﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace DodongosQuest.Special_Effects
{
    public class Heal :ISpecialEffect
    {
        public event SpecialEffectEvent Done;

        private World _world;

        public Heal(Vector2 startWorldIndex, Vector2 endWorldIndex, World world)
        {
            _world = world;
            
        }

        void _particleSystem_particleSystemFinished(object sender, EventArgs e)
        {
            //((Game)Game1).Components.Remove((ParticleSystem.ParticleSystem)sender);
            if (Done != null)
                Done(this);           
        }

        public void Draw(GameTime gameTime)
        {
        }

        public void Update(GameTime gameTime)
        {
        }
    }
}
